package com.cn.lyl.lawyer.dao;


import com.cn.lyl.lawyer.model.entity.LawyerModel;
import com.cn.lyl.lawyer.model.vo.LawyerRoleVo;

import java.util.List;

public interface LawyerMapper {

    int add(LawyerModel lawyerModel);
    int update(LawyerModel lawyerModel);
    int delete(Integer id);
    LawyerRoleVo findById(Integer id);
    LawyerModel findNewest();
    List<LawyerRoleVo> findAll(LawyerRoleVo lawyerModelVo);
    int countFindAll(LawyerRoleVo lawyerModelVo);
    int updateIsHome(Integer id);


}
